package com.sls.game.dao;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.NutsNetGoodsInfo;

/**
 * @Description 坚果网络商品信息DAO层操作
 * @author Administrator
 * @time 2012-08-28
 */
public interface NutsNetGoodsInfoDAO {

	/**
	 * 坚果网络商品插入
	 * 
	 * @param nutsNetGoodsInfo
	 */
	public void insert(NutsNetGoodsInfo nutsNetGoodsInfo);

	/**
	 * 坚果网络商品更新
	 * 
	 * @param nutsNetGoodsInfo
	 */
	public void update(NutsNetGoodsInfo nutsNetGoodsInfo);

	/**
	 * 坚果网络商品,单条记录查询
	 * 
	 * @param id
	 *            坚果商品编号
	 */
	public NutsNetGoodsInfo queryById(String goodsId);

	/**
	 * 分页查询
	 * 
	 * @param nutsNetGoodsInfo
	 * @return
	 */
	public Pagination<NutsNetGoodsInfo> queryPaginationList(
			NutsNetGoodsInfo nutsNetGoodsInfo);

	/**
	 * 查询坚果网络原始商品表中的所有商品
	 * 
	 * @date 2012-12-01
	 * @return
	 */
	public List<NutsNetGoodsInfo> queryAllGoodsInfo(NutsNetGoodsInfo info);

	/**
	 * 修改审核状态
	 * 
	 * @param nutsNetGoodsInfo
	 */
	public void updateState(NutsNetGoodsInfo nutsNetGoodsInfo);

	/**
	 * 查询符合条件的商品编号
	 * 
	 * @param nutsNetGoodsInfo
	 * @return
	 */
	public List<NutsNetGoodsInfo> queryAllGoodsId(
			NutsNetGoodsInfo nutsNetGoodsInfo);

	/**
	 * 查询所有商品编号
	 * 
	 * @return
	 */
	public List<String> queryAllGoodsIdNoCondition();

}
